home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / usr / sybase / doc / dbprhead.man < prev    next >
Text File  |  1993-04-22  |  2KB  |  67 lines

  1.  
  2.   1                       Version 4.0 -- 5/1/89                 dbprhead
  3.   ______________________________________________________________________
  4.  
  5.   NAME:  dbprhead
  6.  
  7.   FUNCTION:
  8.        Print the column headings for rows returned from SQL Server.
  9.  
  10.   SYNTAX:
  11.        extern int DbColwidth;
  12.  
  13.        void dbprhead(dbproc)
  14.  
  15.        DBPROCESS *dbproc;
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.   dbprhead                Version 4.0 -- 5/1/89                        2
  25.   ______________________________________________________________________
  26.  
  27.   COMMENTS:
  28.  
  29.        o This routine displays, on the default output device  and  in  a
  30.          default format, the column headings for a set of query results.
  31.          The format is compatible with the format used by dbprrow().
  32.        o The application can call dbprhead()  once  dbresults()  returns
  33.          SUCCEED.
  34.  
  35.        o This routine is useful for debugging.
  36.  
  37.  
  38.  
  39.   PARAMETERS:
  40.        dbproc -  A pointer to the DBPROCESS structure that provides  the
  41.            connection for a particular front-end/SQL Server process.  It
  42.            contains all the information that DB-Library uses  to  manage
  43.  
  44.  
  45.  
  46.   3                       Version 4.0 -- 5/1/89                 dbprhead
  47.   ______________________________________________________________________
  48.            communications and data between the front end and SQL Server.
  49.        DbColwidth -  A global variable that dbprhead() uses to calculate
  50.            the  width  of  each output line.  It is initialized to 80 by
  51.            DB-Library.
  52.  
  53.   RETURNS:
  54.        None.
  55.  
  56.   SEE ALSO:
  57.        dbbind, dbnextrow, dbprrow, dbresults
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.